package com.ruoyi.omp.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 趋势图管理对象 omp_trend_type
 *
 * @author cjie
 * @date 2022-11-30
 */
@Data
@ApiModel
public class TrendType extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty(value = "编号")
    private Long trendId;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String trendName;

    /** 类型 */
    @Excel(name = "类型")
    @ApiModelProperty(value = "类型")
    private String trendType;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    @ApiModelProperty(value = "状态（0正常 1停用）")
    private String status;

    /** 步长 */
    @Excel(name = "步长")
    @ApiModelProperty(value = "步长")
    private Integer size;

    /** 步长单位 */
    @Excel(name = "步长单位")
    @ApiModelProperty(value = "步长单位")
    private String sizeUnit;

    /** 园区编号 */
    @Excel(name = "园区编号")
    @ApiModelProperty(value = "园区编号")
    private String parkNum;

    /** 趋势图数据信息 */
    private List<TrendData> trendDataList;


}
